package org.xb.BuilderDemo;

/**
 * @Author
 * @Description 具体的实现
 * @Date created in 15:03 2023/12/11
 */
public class ConcreteBuilderA extends Builder {
    private Product product = new Product();

    @Override
    void builderA() {
        product.add("产品A");
    }

    @Override
    void builderB() {
        product.add("产品B");
    }

    @Override
    Product getResult() {
        return product;
    }
}
